<?php



include 'config.php';

Agilet::__init();

PROFILLING && ($token = Profiler::start('request'));

($hooks = Hook::load($action = 'requestStart')) and Hook::emit($hooks, $action);

echo Response::execute();

PROFILLING && (Profiler::stop($token));

($hooks = Hook::load($action = 'requestShutdown')) and Hook::emit($hooks, $action);
